package com.lx.patterns.strategy;

/**
 * @ClassName SalesMan
 * @Description: //店员
 * @Author: 落雪
 * @CreateDate: 2025/2/10 20:55
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/2/10 20:55
 * @UpdateRemark:
 * @Version: 1.0
 */
public class SalesMan {


    private Strategy strategy;

    public Strategy getStrategy() {
        return strategy;
    }

    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }

    public void salesManShow(){
        strategy.show();
    }
}
